//
//  SEGOrderHandleController.h
//  Uhomebk
//
//  Created by mac on 2017/7/11.
//  Copyright © 2017年 com.segi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SEGOrderDetailModel.h"

/**
 SEGOrderHandleController
 */
@protocol SEGOrderHandleControllerDelegate <NSObject>

/**
 刷新待办

 @param orderId 工单id
 */
-(void)orderHandleSumbitOrderDetailFormDataSucessRefreshPendingList:(NSString *)orderId;

/**
 回调刷新工单详情页面
 isDevcieOrPatrolIsToDeal - 是否是巡更或者巡检直接处理 yes-是 no-不是
 */
-(void)refreshDetailViewControllerWithIsDevcieOrPatrolIsToDeal:(BOOL)isDevcieOrPatrolIsToDeal;

@end

@interface SEGOrderHandleController : UIViewController

@property(nonatomic, weak) id<SEGOrderHandleControllerDelegate> delegate;/**代理 */
@property(nonatomic, strong) SEGOrderDetailModel *detailModel;/**详情模型 */
@property(nonatomic,strong)SEGOrderActionModel *actionModel;/**处理动作模型 */

-(void)refreshViews;

@end
